package org.example.route;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.transaction.annotation.Transactional;
/*
 *
 *               _ooOoo_
 *              o8888888o
 *              88" . "88
 *              (| ^_^ |)
 *              O\  =  /O
 *           ____/`---'\____
 *         .'  \\|     |//  `.
 *        /  \\|||  :  |||//  \
 *       /  _||||| -卍-|||||_  \
 *       |   | \\\  -  /// |   |
 *       | \_|  ''\---/''  |   |
 *       \  .-\__  `-`  ___/-. /
 *     ___`. .'  /--.--\  `. . __
 *  ."" '<  `.___\_<|>_/___.'  >'"".
 * | | :  `- \`.;`\ _ /`;.`/ - ` : | |
 * \  \ `-.   \_ __\ /__ _/   .-` /  /
 *======`-.____`-.___\_____/___.-`____.-'=====
 *                   `=---='
 *
 * 佛祖保佑      永无BUG          永不修改需求
 */
@SpringBootApplication
@EnableTransactionManagement //开启注解方式的事务管理
@Slf4j
@EnableCaching//进行缓存操作的注解
@ServletComponentScan
@EnableScheduling//开启（定时）任务调度
@OpenAPIDefinition
public class RouteApplication {

    //可能要做添加的去重处理

    public static void main(String[] args) {
        SpringApplication.run(RouteApplication.class, args);
    }

}
